LISTS, PART 1: We can use an index to access an item in a list! Look in the toolkit to find these tools.

  • Click Run to play the game and get a score. We will add your score to a list of other "fake scores".
  • First, Append your score (score) to score_list so that your score is included with all the scores.
  • Use Sort List with score_list. This sorts a list of numbers from least to greatest!
  • Then use Reverse with score_list. This reverses the list, so now it is sorted from greatest to least!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)